package 笔试;

import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class 小红书_镜像序列 {
    private static List<Integer> A = new ArrayList<>();
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int n = scan.nextInt();
        int m = scan.nextInt();
        int k = scan.nextInt();

        scan.nextLine();

        for (int i = 0; i < n; i++) {
            A.add(scan.nextInt());
        }

        while(m > 0) {
            for (int i = A.size()-1; i >= 0; i--) {
                A.add(A.get(i));
            }
            m--;
        }

        System.out.println(A.get(k-1));
    }
}













